﻿using System;
using BLL;

public partial class ProductAging_ManuAging_LatestCategoryManu : System.Web.UI.Page
{
    Aging ag;

    public ProductAging_ManuAging_LatestCategoryManu()
    {
        ag = new Aging();
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        BindAging();
    }

    protected void BindAging()
    {
        this.GridView1.DataSource = ag.GetLatestAgings();
        this.GridView1.DataBind();
    }

    protected void GridView1_PageIndexChanging(object sender, System.Web.UI.WebControls.GridViewPageEventArgs e)
    {
        this.GridView1.PageIndex = e.NewPageIndex;
        BindAging();
    }
}
